package io.gbznt.modules.buss.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import java.util.Map;
import io.gbznt.common.utils.PageUtils;
import io.gbznt.common.utils.Query;

import io.gbznt.modules.buss.dao.BussCameraRecordDao;
import io.gbznt.modules.buss.entity.BussCameraRecordEntity;
import io.gbznt.modules.buss.service.BussCameraRecordService;


@Service("bussCameraRecordService")
public class BussCameraRecordServiceImpl extends ServiceImpl<BussCameraRecordDao, BussCameraRecordEntity> implements BussCameraRecordService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<BussCameraRecordEntity> page = this.page(
                new Query<BussCameraRecordEntity>().getPage(params),
                new QueryWrapper<BussCameraRecordEntity>()
        );

        return new PageUtils(page);
    }

}
